package com.chixing.service;

import com.chixing.entity.Mycoupon;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chixing.util.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author smith
 * @since 2025-05-21
 */
public interface IMycouponService {
    public Result getAll();


    /**
     * 查询某个用户的指定状态的领取的优惠券
     * @param customerId 用户id
     * @param status 指定优惠券状态
     * @return 返回对应的领取的优惠券列表
     */
    public Result getMycouponByCustomerId(Integer customerId,Integer status);


    public Result save(Mycoupon mycoupon);
}
